home *** CD-ROM | disk | FTP | other *** search
- Path: news.amu.edu.pl!usenet
- From: Miloslaw Smyk <smykm@felix.univ.szczecin.pl>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: PPC compilers
- Date: Wed, 03 Jan 1996 11:31:55 +0100
- Organization: Technical University of Szczecin
- Message-ID: <30EA5B1B.41C6@felix.univ.szczecin.pl>
- References: <4c64qj$c78@sinsen.sn.no> <4cb098$421@news.rwth-aachen.de>
- NNTP-Posting-Host: felix.univ.szczecin.pl
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b3 (X11; I; IRIX 5.2 IP12)
-
- Sven Thoennissen wrote:
- >
- > >>> can someone please tell me a sideffect example in asm ?
- > >>How about
- > >> move.l -(a0),-(a0)
- > >>? Are you sure that a 68060 won't decrement the two registers in
- > >>parallel?
- >
- > >Even if it does, you could hardly blame the programmer for using it,
- > >could you?
- >
- > You are right, the programmer is not to blame. The 060 would be a _BAD_
- > processor if it did that way.
-
- Why should it? It is just a single instruction, and AFAIK 68060 is able
- to perform two instructions in the same clock-cycle, but this is not
- what
- move.l -(a0),-(a0)
- is about.
-
- Milek
- --
- Life is too short to use Windows.
-